package com.tich.exception;


public class CommentException extends RuntimeException{
    private int code;

    public CommentException(String message, int code) {
        super(message);
        this.code = code;
    }

    public CommentException(String message, Throwable cause, int code) {
        super(message, cause);
        this.code = code;
    }

    public CommentException(Throwable cause, int code) {
        super(cause);
        this.code = code;
    }
}
